Get Text

Command Prototype

sRet = Text.Get(objUiElement,iTimeOut,optionArgs)

Command Description

Get text content of the specified UI element

Parameter Description
Required Parameter
objUiElement--Correspond to the UI element to operate; when passed as a string type, it is used as feature string to find the UI element; when passed as UiElement type, directly operate its matching UI element
iTimeOut-- Specify the time (in milliseconds) to wait for an activity to run before SelectorNotFoundException throws an error. The default is 10000 milliseconds (10 seconds)
Optional Parameter
bContinueOnError--Specify whether automation should continue if the activity throws an error. This field only supports Boolean values ​​(True, False). The default is False
iDelayAfter--The delay in milliseconds after the activity is executed. The default is 300 milliseconds
iDelayBefore--The delay in milliseconds before the activity starts any operation. The default is 200 milliseconds
bSetForeground--Activate the target window or not before the operation
return
sRet--The variable used to save the output of the function call

results matching ""

    No results matching ""